<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<h1>三角形</h1>										<!-- 219971311胡少康 -->
		<script>
						
					    for(var i = 1;i<=5;i++){
					        for(var j = 1;j<=5-i;j++){
					            document.write("&nbsp")			
					        }
							for(var k = 1;k<=i;k++){
								document.write("*&nbsp")	
							}
							document.write("<br>")   
					    }
					</script>
					<h2>平行四边形</h2>
								<script>
								    for(var i = 1;i<=5;i++){
								        for(var j = 1;j<=5-i;j++){
								            document.write("&nbsp")
								        }
										for(var k = 1;k<=5;k++){
											document.write("*&nbsp")
										}
										document.write("<br>")
								    }
								</script>
	</head>
	<body>
	</body>
</html>